const homeContainer = () => import( '@/containers/home/home.vue') //首页
const homeSearchContainer = () => import( '@/containers/home/search.vue') //搜索页
const notFoundContainer = r => require.ensure([], () => r(require('@/containers/NotFoundContainer.vue')), '404')


export default [{
		path: '/',
		redirect: '/home'
	},
	{
		path: '/home',
		name: `home`,
		component: homeContainer, //首页
		meta: {
			requiresAuth: false,
			keepAlive: false
		}
	},
	{
		path: '/search',
		name: `search`,
		component: homeSearchContainer, //搜索页
	},
	{
		path: '/404',
		component: notFoundContainer //404
	},
	{
		path: '*',
		component: notFoundContainer //404
	}
	
]